

import 'package:flutter/material.dart';

class DolqunAppBar extends StatelessWidget implements PreferredSizeWidget {
  @override
  Widget build(BuildContext context) {
    return Stack(
      children: <Widget>[
        Positioned.fill(
          child: Image.asset("assets/images/user_top_bg.jpg", fit: BoxFit.cover,),
        ),
        Positioned(
          bottom: 0.0,
          left: 0.0,
          right: 0.0,
          child: Center(
            child: Image.asset("assets/images/login_top_text.png", fit: BoxFit.cover, height: 40.0,),
          )
        )
      ],
    );
  }

  @override
  // TODO: implement preferredSize
  Size get preferredSize => Size(double.infinity, 50.0);
}